/*
 * @(#)MailProperty.java Jun 18, 2007
 * 
 * Copyright 2007 by ChinanetCenter Corporation.
 *
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * ChinanetCenter Corporation ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with ChinanetCenter.
 * 
 */
package com.cnc.fd.util;

import java.util.Locale;
import java.util.ResourceBundle;


/**
 * @author 阿闲
 * @date   Jun 18, 2007
 * @version 1.0
 */
public class MailProperty {
	
	private static ResourceBundle rb = ResourceBundle.getBundle("email", new Locale("zh", "CN"), MailProperty.class.getClassLoader());
	
	public static String getAddress(String customer){		
		try{			
			return rb.getString(customer).trim();			
		}catch(Exception e){
			//e.printStackTrace();
			return null;
		}
	}
	
	
}


